#include <iostream>
#include <vector>
using std::cout;
using std::endl;
using std::vector;

void test0(){
    vector<int> nums;
    cout << sizeof(nums) << endl;
    cout << nums.size() << endl;
    cout << nums.capacity() << endl;

    cout << endl;
    nums.push_back(1);
    cout << nums.size() << endl;
    cout << nums.capacity() << endl;
    cout << endl;
    nums.push_back(1);
    cout << nums.size() << endl;
    cout << nums.capacity() << endl;
    cout << endl;
    nums.push_back(1);
    cout << nums.size() << endl;
    cout << nums.capacity() << endl;
    cout << endl;
    nums.push_back(1);
    cout << nums.size() << endl;
    cout << nums.capacity() << endl;
    cout << endl;
    nums.push_back(1);
    cout << nums.size() << endl;
    cout << nums.capacity() << endl;
    cout << endl;
    nums.push_back(1);
    cout << nums.size() << endl;
    cout << nums.capacity() << endl;
    cout << endl;
    nums.push_back(1);
    cout << nums.size() << endl;
    cout << nums.capacity() << endl;
    cout << endl;
    nums.push_back(1);
    cout << nums.size() << endl;
    cout << nums.capacity() << endl;
    cout << endl;
    nums.push_back(1);
    cout << nums.size() << endl;
    cout << nums.capacity() << endl;

    cout << sizeof(nums) << endl;
    cout << &nums << endl;
    cout << &nums[0] << endl;
    cout << &nums[1] << endl;
}

int main(void){
    test0();
    return 0;
}
